package com.morgan.storageperlib.entity;

/**
 * @description 描    述：媒体item
 * @author 作    者：caowugao
 */
public class MediaItem {

    protected String path;

    protected String name;

    protected long dateAdded;//创建日期

    protected long dateModified;//修改时间

    private String mimeType;//类型

    private long size;//大小

    /**
     * @param path
     * @param name
     */
    public MediaItem(String path, String name) {
        super();
        this.path = path;
        this.name = name;
    }

    /**
     * @return Returns the path.
     */
    public String getPath() {
        return path;
    }

    /**
     * @param path The path to set.
     */
    public void setPath(String path) {
        this.path = path;
    }

    /**
     * @return Returns the name.
     */
    public String getName() {
        return name;
    }

    /**
     * @param name The name to set.
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return Returns the dateAdded.
     */
    public long getDateAdded() {
        return dateAdded;
    }

    /**
     * @param dateAdded The dateAdded to set.
     */
    public void setDateAdded(long dateAdded) {
        this.dateAdded = dateAdded;
    }

    /**
     * @return Returns the dateModified.
     */
    public long getDateModified() {
        return dateModified;
    }

    /**
     * @param dateModified The dateModified to set.
     */
    public void setDateModified(long dateModified) {
        this.dateModified = dateModified;
    }

    /**
     * @return Returns the mimeType.
     */
    public String getMimeType() {
        return mimeType;
    }

    /**
     * @param mimeType The mimeType to set.
     */
    public void setMimeType(String mimeType) {
        this.mimeType = mimeType;
    }

    /**
     * @return Returns the size.
     */
    public long getSize() {
        return size;
    }

    /**
     * @param size The size to set.
     */
    public void setSize(long size) {
        this.size = size;
    }
}
